package com.hoperun.checkcloth.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.hoperun.checkcloth.R;
import com.hoperun.checkcloth.base.MIP_BaseActivity;


public class JyMainActivity extends MIP_BaseActivity implements View.OnClickListener {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_jy_main);
        this.findViewById(R.id.changzilay).setOnClickListener(this);
        this.findViewById(R.id.zhentoulay).setOnClickListener(this);
        this.findViewById(R.id.shengchanlay).setOnClickListener(this);
        this.findViewById(R.id.firstshurelay).setOnClickListener(this);
        this.findViewById(R.id.pibulay).setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.changzilay:
            {
                Intent intent=new Intent(this, JyZhiZaoActivity.class);
                startActivity(intent);
            }
            break;
            case R.id.zhentoulay:
            {
                Intent intent=new Intent(this, JyZhentouActivity.class);
                startActivity(intent);
            }
            break;
            case R.id.shengchanlay:
            {
                Intent intent=new Intent(this, JyChejianActivity.class);
                startActivity(intent);
            }
            break;
            case R.id.firstshurelay:
            {
                Intent intent=new Intent(this, JyFirstShureActivity.class);
                startActivity(intent);
            }
            break;
            case R.id.pibulay:
            {
                Intent intent = new Intent(this, PibuMainActivity.class);
                startActivity(intent);
            }
            break;
        }
    }

    @Override
    public void onPostHandle(int requestType, Object objBody, boolean error) throws Exception {

    }

}